﻿<?xml version="1.0" encoding="utf-8"?>
<List xmlns:ows="Microsoft SharePoint" Title="Sunbox comments" FolderCreation="FALSE" Direction="$Resources:Direction;" Url="Lists/SharePoint.Sunbox.Sandbox-CommentsListDefinition" BaseType="0" xmlns="http://schemas.microsoft.com/sharepoint/">
  <MetaData>
    <ContentTypes>
      <ContentType Group="Custom Content Types" Name="Commented content type" ID="0x010049ED740159334F0A9B3F191C2E8152DE">
        <FieldRefs>
          <FieldRef  ID="{52719EE1-8D5D-4F6F-AA40-E31F32430DC1}" Name="CommentText" DisplayName="Comment text" />
          <FieldRef  ID="{936A9F77-2DA3-48C4-8662-5B24EB97ACA4}" Name="ParentCommentId" DisplayName="Parent comment ID" />
          <FieldRef  ID="{AAC832F6-A5CB-45AA-9326-8A1B73458742}" Name="ParentId" DisplayName="Parent ID" />
        </FieldRefs>
      </ContentType>
      <ContentTypeRef ID="0x0120" />
    </ContentTypes>
    <Fields>
      <Field DisplayImage="" ID="{52719EE1-8D5D-4F6F-AA40-E31F32430DC1}" Sealed="" Type="Note" RichText="TRUE" RichTextMode="FullHtml" Name="CommentText" DisplayName="Comment text" Hidden="FALSE" Required="FALSE"  />
      <Field ID="{936A9F77-2DA3-48C4-8662-5B24EB97ACA4}" Type="Number" Min="1" Name="ParentCommentId" DisplayName="Parent comment ID" Hidden="FALSE" Required="FALSE"  />
      <Field ID="{AAC832F6-A5CB-45AA-9326-8A1B73458742}" Type="Number" Min="1" Name="ParentId" DisplayName="Parent ID" Hidden="FALSE" Required="FALSE"  />
    </Fields>
    <Views>
      <View BaseViewID="0" Type="HTML" MobileView="TRUE" TabularView="FALSE">
        <Toolbar Type="Standard" />
        <XslLink Default="TRUE">main.xsl</XslLink>
        <RowLimit Paged="TRUE">30</RowLimit>
        <ViewFields>
          <FieldRef Name="LinkTitleNoMenu"></FieldRef>
          <FieldRef Name="CommentText"></FieldRef>
          <FieldRef Name="ParentId"></FieldRef>
          <FieldRef Name="ParentCommentId"></FieldRef>
        </ViewFields>
        <Query>
          <OrderBy>
            <FieldRef Name="Created" Ascending="FALSE"></FieldRef>
          </OrderBy>
        </Query>
        <ParameterBindings>
          <ParameterBinding Name="AddNewAnnouncement" Location="Resource(wss,addnewitem)" />
          <ParameterBinding Name="NoAnnouncements" Location="Resource(wss,noXinviewofY_LIST)" />
          <ParameterBinding Name="NoAnnouncementsHowTo" Location="Resource(wss,noXinviewofY_ONET_HOME)" />
        </ParameterBindings>
      </View>
      <View BaseViewID="1" Type="HTML" WebPartZoneID="Main" DisplayName="$Resources:core,objectiv_schema_mwsidcamlidC24;" DefaultView="TRUE" MobileView="TRUE" MobileDefaultView="TRUE" SetupPath="pages\viewpage.aspx" ImageUrl="/_layouts/images/generic.png" Url="AllItems.aspx">
        <Toolbar Type="Standard" />
        <XslLink Default="TRUE">main.xsl</XslLink>
        <RowLimit Paged="TRUE">30</RowLimit>
        <ViewFields>
          <FieldRef Name="Attachments"></FieldRef>
          <FieldRef Name="LinkTitle "></FieldRef>
          <FieldRef Name="CommentText"></FieldRef>
          <FieldRef Name="ParentId"></FieldRef>
          <FieldRef Name="ParentCommentId"></FieldRef>
        </ViewFields>
        <Query>
          <OrderBy>
            <FieldRef Name="Created" Ascending="FALSE"></FieldRef>
          </OrderBy>
        </Query>
        <ParameterBindings>
          <ParameterBinding Name="NoAnnouncements" Location="Resource(wss,noXinviewofY_LIST)" />
          <ParameterBinding Name="NoAnnouncementsHowTo" Location="Resource(wss,noXinviewofY_DEFAULT)" />
        </ParameterBindings>
      </View>
    </Views>
    <Forms>
      <Form Type="DisplayForm" Url="DispForm.aspx" SetupPath="pages\form.aspx" WebPartZoneID="Main" />
      <Form Type="EditForm" Url="EditForm.aspx" SetupPath="pages\form.aspx" WebPartZoneID="Main" />
      <Form Type="NewForm" Url="NewForm.aspx" SetupPath="pages\form.aspx" WebPartZoneID="Main" />
    </Forms>
  </MetaData>
</List>